Skip to content

fix(ci): pin docker/login-action to full SHA for SonarCloud - #91

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/ci-autofix-automation-2b62
Draft

fix(ci): pin docker/login-action to full SHA for SonarCloud#91
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/ci-autofix-automation-2b62

Conversation

@cursor

@cursor cursor Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

SonarCloud's quality gate on main fails with a C security rating on new code because docker/login-action@v4 uses a floating tag (rule githubactions:S7637).

Changes

  • Pin both GHCR and Quay docker/login-action steps in .github/workflows/docker-multiarch.yml to the v4 release commit af1e73f918a031802d376d3c8bbc3fe56130a9b0.

Broken by

PR #71 introduced Quay.io login with floating docker/login-action@v4 tags.

Open in Web View Automation 

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

SonarCloud quality gate on main fails with C security rating on new code
because docker/login-action@v4 uses a floating tag (githubactions:S7637).
Pin both GHCR and Quay login steps to the v4 release commit.

Co-authored-by: Alexander Wagner <info@alexanderwagnerdev.com>
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant